package com.training.iyogo.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.training.iyogo.dao.ICardDAO;
import com.training.iyogo.domain.Card;
import com.training.iyogo.service.ICardService;
@Service
@Transactional
public class CardService implements ICardService{
	@Autowired
	private ICardDAO cardDao;
	
	@Override
	public void addCard(Card card) {
		cardDao.save(card);
	}
	
}
